﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001009 RID: 4105
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournEnterRoomScRsp : IMessage<RogueTournEnterRoomScRsp>, IMessage, IEquatable<RogueTournEnterRoomScRsp>, IDeepCloneable<RogueTournEnterRoomScRsp>, IBufferMessage
	{
		// Token: 0x170033EC RID: 13292
		// (get) Token: 0x0600B7A4 RID: 47012 RVA: 0x001EF87B File Offset: 0x001EDA7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournEnterRoomScRsp> Parser
		{
			get
			{
				return RogueTournEnterRoomScRsp._parser;
			}
		}

		// Token: 0x170033ED RID: 13293
		// (get) Token: 0x0600B7A5 RID: 47013 RVA: 0x001EF882 File Offset: 0x001EDA82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournEnterRoomScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033EE RID: 13294
		// (get) Token: 0x0600B7A6 RID: 47014 RVA: 0x001EF894 File Offset: 0x001EDA94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournEnterRoomScRsp.Descriptor;
			}
		}

		// Token: 0x0600B7A7 RID: 47015 RVA: 0x001EF89B File Offset: 0x001EDA9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterRoomScRsp()
		{
		}

		// Token: 0x0600B7A8 RID: 47016 RVA: 0x001EF8A4 File Offset: 0x001EDAA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterRoomScRsp(RogueTournEnterRoomScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B7A9 RID: 47017 RVA: 0x001EF8F0 File Offset: 0x001EDAF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterRoomScRsp Clone()
		{
			return new RogueTournEnterRoomScRsp(this);
		}

		// Token: 0x170033EF RID: 13295
		// (get) Token: 0x0600B7AA RID: 47018 RVA: 0x001EF8F8 File Offset: 0x001EDAF8
		// (set) Token: 0x0600B7AB RID: 47019 RVA: 0x001EF900 File Offset: 0x001EDB00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170033F0 RID: 13296
		// (get) Token: 0x0600B7AC RID: 47020 RVA: 0x001EF909 File Offset: 0x001EDB09
		// (set) Token: 0x0600B7AD RID: 47021 RVA: 0x001EF911 File Offset: 0x001EDB11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600B7AE RID: 47022 RVA: 0x001EF91A File Offset: 0x001EDB1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournEnterRoomScRsp);
		}

		// Token: 0x0600B7AF RID: 47023 RVA: 0x001EF928 File Offset: 0x001EDB28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournEnterRoomScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B7B0 RID: 47024 RVA: 0x001EF978 File Offset: 0x001EDB78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B7B1 RID: 47025 RVA: 0x001EF9CD File Offset: 0x001EDBCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B7B2 RID: 47026 RVA: 0x001EF9D5 File Offset: 0x001EDBD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B7B3 RID: 47027 RVA: 0x001EF9E0 File Offset: 0x001EDBE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B7B4 RID: 47028 RVA: 0x001EFA3C File Offset: 0x001EDC3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B7B5 RID: 47029 RVA: 0x001EFA94 File Offset: 0x001EDC94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournEnterRoomScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B7B6 RID: 47030 RVA: 0x001EFAFC File Offset: 0x001EDCFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B7B7 RID: 47031 RVA: 0x001EFB08 File Offset: 0x001EDD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004A21 RID: 18977
		private static readonly MessageParser<RogueTournEnterRoomScRsp> _parser = new MessageParser<RogueTournEnterRoomScRsp>(() => new RogueTournEnterRoomScRsp());

		// Token: 0x04004A22 RID: 18978
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A23 RID: 18979
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04004A24 RID: 18980
		private uint retcode_;

		// Token: 0x04004A25 RID: 18981
		public const int RogueTournCurSceneInfoFieldNumber = 8;

		// Token: 0x04004A26 RID: 18982
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;
	}
}
